package com.wk.springboot.bean;

public class ElasticSearchEntity {
  private String ip;
  private String clusterName;
  private String user;
  private int port;
  private String version;

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public ElasticSearchEntity(String ip, String clusterName, String user, int port,
      String version) {
    this.ip = ip;
    this.clusterName = clusterName;
    this.user = user;
    this.port = port;
    this.version = version;
  }

  public ElasticSearchEntity(String ip, String clusterName, String user, int port) {
    this.ip = ip;
    this.clusterName = clusterName;
    this.user = user;
    this.port = port;
  }

  public ElasticSearchEntity() {
  }

  public String getIp() {
    return this.ip;
  }

  public void setIp(String ip) {
    this.ip = ip;
  }

  public String getClusterName() {
    return this.clusterName;
  }

  public void setClusterName(String clusterName) {
    this.clusterName = clusterName;
  }

  public String getUser() {
    return this.user;
  }

  public void setUser(String user) {
    this.user = user;
  }

  public int getPort() {
    return this.port;
  }

  public void setPort(int port) {
    this.port = port;
  }
}